package com.redtree.air.components.libas
{
	import mx.core.IFactory;
	
	//必须要实现IFactory接口  
	public class CellColorIFactory implements IFactory
	{
		//回调方法  
		private var _cellColorFunction:Function;
		public function CellColorIFactory(f:Function)
		{
			super();
			this._cellColorFunction = f;
		}
		
		public function newInstance():*
		{
			//实例化渲染器，实现具体功能  
			return new CellColorItemRenderer(_cellColorFunction);
		}
	}
}